package com.flute.framework.monitor;

public class MonitorInfo implements ICategoryResult {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5600921480509744304L;
	private String host;
	private String path;
	private String key;

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getPath() {
		if (!path.endsWith("/")) {
			return path + "/";
		} else {
			return path;
		}
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String toString() {
		return "host:" + host + " path:" + path + " key:" + key;
	}
}
